package cn.edu.ctbu.dp01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/student")
public class StudentController {

    @GetMapping("/list")
    public String list() {
        // 返回原版列表页面
        return "student/list";
    }
    
    @GetMapping("/table-list")
    public String tableList() {
        // 返回LayUI Table版本列表页面
        return "student/table-list";
    }
}